package com.woniuxy.order.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.order.config.PageInfo;
import com.woniuxy.order.dto.OrderListDto;
import com.woniuxy.order.dto.UserOrderDto;
import com.woniuxy.order.mapper.OrderInfoMapper;
import com.woniuxy.order.param.OrderListParam;
import com.woniuxy.order.param.UserOrderParam;
import com.woniuxy.order.OrderInfoService;
import org.springframework.stereotype.Service;
import com.woniuxy.order.entity.OrderInfo;

import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ...
 * @since 2024年05月22日
 */
@Service
public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo> implements OrderInfoService {

    /**
     * 查询所有订单成功
     *
     * @param param
     */
    @Override
    public PageInfo<OrderListDto> orderList(OrderListParam param) throws Exception {
        return null;
    }

    /**
     * 下单成功
     *
     * @param param
     */
    @Override
    public UserOrderDto userOrder(UserOrderParam param, Integer accountId) throws Exception {
        return null;
    }

    /**
     * 支付成功
     *
     * @param orderNum
     */
    @Override
    public String payUserOrder(String orderNum, Integer accountId) throws Exception {
        return null;
    }


    /**
     * 支付回调
     *
     * @param params
     */
    @Override
    public void productCallBack(Map<String, String> params) throws Exception {

    }


    /**
     * 退款成功
     *
     * @param orderNum
     */
    @Override
    public void refun(Integer orderNum, Integer accountId) throws Exception {

    }
}
